package com.base.service.impl;

import com.base.mapper.voipmapper.GasOrderEjyMapper;
import com.base.po.voip.GasOrderEjy;
import com.base.po.voip.GasOrderEjyExample;
import com.base.service.GasOrderEjyService;
import com.base.utils.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("GasOrderEjyService")
public class GasOrderEjyServiceImpl implements GasOrderEjyService {
    @Autowired
    GasOrderEjyMapper gasOrderEjyMapper;

    @Override
    public int countByExample(GasOrderEjyExample example) {
        return gasOrderEjyMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(GasOrderEjyExample example) {
        return gasOrderEjyMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return gasOrderEjyMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(GasOrderEjy record) {
        return gasOrderEjyMapper.insert(record);
    }

    @Override
    public int insertSelective(GasOrderEjy record) {
        return gasOrderEjyMapper.insertSelective(record);
    }

    @Override
    public List<GasOrderEjy> selectByExample(GasOrderEjyExample example) {
        return gasOrderEjyMapper.selectByExample(example);
    }

    @Override
    public GasOrderEjy selectByPrimaryKey(Integer id) {
        return gasOrderEjyMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(GasOrderEjy record, GasOrderEjyExample example) {
        return gasOrderEjyMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(GasOrderEjy record, GasOrderEjyExample example) {
        return gasOrderEjyMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(GasOrderEjy record) {
        return gasOrderEjyMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(GasOrderEjy record) {
        return gasOrderEjyMapper.updateByPrimaryKey(record);
    }

    @Override
    public int coutByOutTradeNo(String outstate) {
        return gasOrderEjyMapper.coutByOutTradeNo( outstate);
    }

    @Override
    public GasOrderEjy selectByOutTradeNo(String outstate) {
        return gasOrderEjyMapper.selectByOutTradeNo(outstate);
    }

    @Override
    public Integer countByUserIdPage(String subid, Page page) {
        return gasOrderEjyMapper.countByUserIdPage(subid, page);
    }

    @Override
    public List<GasOrderEjy> selectByUserIdPage(String subid, Page page) {
        return gasOrderEjyMapper.selectByUserIdPage(subid, page);
    }

    @Override
    public GasOrderEjy selectByOrderId(String orderid) {
        return gasOrderEjyMapper.selectByOrderId(orderid);
    }
}
